﻿using Magicodes.ExporterAndImporter.Core;
using Org.BouncyCastle.Crypto;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Reports.CBBYS.Dtos
{
    public class GetCBBYSOutput
    {
        /// <summary>
        /// 流程实例编号
        /// </summary>
        [ExporterHeader("流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(IsIgnore = true)]
        public DateTime? ProcessStartTime { get; set; }
        [ExporterHeader("申请时间")]
        public string ProcessStartTimeStr { get; set; }

        /// <summary>
        /// 添加用户名称
        /// </summary>
        [ExporterHeader("申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader("流程状态")]
        public string OrderStatus { get; set; }

        [ExporterHeader(IsIgnore = true)]
        public DateTime? FinishTime { get; set; }
        [ExporterHeader("结束时间")]
        public string FinishTimeStr { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [ExporterHeader(IsIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [ExporterHeader("标题")]
        public string Title { get; set; }

        /// <summary>
        /// 正文
        /// </summary>
        [ExporterHeader("正文")]
        public string Content { get; set; }
    }
}
